package com.managerConsummer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import util.JWTUtil;

/**
 *
 * @author tapoliuliyue
 * @date 2022/04/23
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
public class ManagerConsummerApplication {
    @Bean
    public JWTUtil jwtUtil() {
        return new JWTUtil();
    }



    public static void main(String[] args) {
        SpringApplication.run(ManagerConsummerApplication.class, args);
    }
}
